package com.h3c.tj_nsh.UI.MVP.Login;


import com.h3c.tj_nsh.Constant;
import com.h3c.tj_nsh.Utils.UIUtils;

/**
 * Time: 2016/5/12.
 * Author:Chen  .
 */
public class LoginPresent {
    private LoginView mLoginView;

    public LoginPresent(LoginView view) {
        mLoginView = view;
    }

    public void topLeaderLogin() {
        UIUtils.showMain(mLoginView.getContext(), Constant.TOP_LEADER);
    }

    public void departmentLogin() {
        UIUtils.showMain(mLoginView.getContext(), Constant.DEPARTMENT);
    }

    public void engineerLogin() {
        UIUtils.showMain(mLoginView.getContext(), Constant.ENGINEER);
    }

}
